package com.jl.card;

import org.mozilla.javascript.ScriptableObject;
import org.mozilla.javascript.annotations.JSStaticFunction;

/**
 * only use in js encironment
 * @author Administrator
 *
 */
public class TerminalSystem extends ScriptableObject {

	public TerminalSystem() {
	}

	@JSStaticFunction
	public static String getTerminalName(int index) {
		return CardManager.getNameByIndex(index);
	}

	@Override
	public String getClassName() {
		return "System";
	}

}
